<?php
class ErrorController extends Controller
{
    function __construct()
    {
        $this->loadLibrary('Utility');
        $this->loadLibrary('Session');
    }

    public function index()
    {
        $this->loadModel('errormessage');
        $this->models['errormessage']->handleError();
    }
}
 
